package com.itheima.pojo;

import lombok.Data;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.stereotype.Component;

/**
 * CTassName: AliOSSProperties
 * Package: com.itheima.pojo
 * Description:
 *
 * @Author xw
 * @Create 2023/11/6 18:29
 * @Version 1.0
 */
/*阿里云OSS相关配置*/
@Data
@Component //实例化该类--->IOC容器
@ConfigurationProperties(prefix = "aliyun.oss") //加载配置文件中的配置复赋值
public class AliOSSProperties {
    //区域
    private String endpoint;
    //身份ID
    private String accessKeyId ;
    //身份密钥
    private String accessKeySecret ;
    //存储空间
    private String bucketName;


}
